package com.futao.jl;

import java.util.Properties;

/**
 * @author ft
 * @date 2021/7/13
 */
public class Pro {
    public static void main(String[] args) {
        Properties properties = System.getProperties();
        for (Object o : properties.keySet()) {
            Object value = properties.get(o);
            System.out.println("k:" + o + "     v:" + value);
        }

        System.out.println("--------");
        System.out.println(System.getProperty("user.dir"));
        System.setProperty("user.dir","123");
        System.out.println(System.getProperty("user.dir"));
    }
}
